﻿<UserControl x:ConnectionId='1'
    x:Class="EString.Controls.BusyES"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EString"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400"                              >
	<UserControl.Resources>
		<Storyboard x:Name="Storyboard1" RepeatBehavior="Forever">
			<DoubleAnimation Duration="0:0:2" To="360" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="ellipse" d:IsOptimized="True"/>
		</Storyboard>
	</UserControl.Resources>
    
    <Grid>
    	<Ellipse x:Name="ellipse" HorizontalAlignment="Center" Height="100" VerticalAlignment="Center" Width="100" StrokeThickness="8" StrokeDashArray="0 0.5 0" StrokeLineJoin="Round" StrokeStartLineCap="Round" RenderTransformOrigin="0.5,0.5">
    		<Ellipse.RenderTransform>
    			<CompositeTransform/>
    		</Ellipse.RenderTransform>
    		<Ellipse.Stroke>
    			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    				<GradientStop Color="#BF000000"/>
    				<GradientStop Color="#CEFF8B00" Offset="1"/>
    			</LinearGradientBrush>
    		</Ellipse.Stroke>
    	</Ellipse>

    </Grid>
</UserControl>

